<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>Hello MUI</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<link rel="stylesheet" href="../css/mui.min.css">
		<script src="../js/mui.min.js"></script>
		<script src="../js/app.js"></script>
		<style>
			html,body {
				background-color: #efeff4;
			}
		</style>
		<script>
			mui.init();
		</script>
	</head>

	<body>

<div class="mui-content">
	<div class="mui-card">
		<ul class="mui-table-view">
			<li class="mui-table-view-cell mui-hidden">
				cared
				<div id="M_Toggle" class="mui-switch mui-active">
					<div class="mui-switch-handle"></div>
				</div>
			</li>
			<li class="mui-table-view-cell">
				Item 1 <span class="mui-badge">14</span>
			</li>
			<li class="mui-table-view-cell">
				Item 2 <span class="mui-badge">1</span>
			</li>
			<li class="mui-table-view-cell">
				Item 3 <span class="mui-badge">5</span>
			</li>
		</ul>
	</div>
</div>
<script>
	mui.init({
		back : function() {//建议5+可以在创建窗体时，允许传进去自定义参数，然后获取该窗体可以访问该参数，这样mui就可以识别出是lazyload窗口。而不用自己写了
			if (window.plus) {
				return {
					preload : true
				};
			}
		}
	}); 
</script>
</body>
</html>